package com.gsmr.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gsmr.dao.BS_infoDao;
import com.gsmr.dao.GPRSInfoDao;
import com.gsmr.entity.BS_info;
import com.gsmr.entity.GPRSInfo;
import com.gsmr.service.BS_infoService;
import com.gsmr.service.GPRSInfoService;


@Service("GPRSInfoService")
public class GPRSInfoServiceImpl implements GPRSInfoService {

	@Resource
	private GPRSInfoDao GPRSInfoDao;

	@Override
	public List<GPRSInfo> findByIds(Map<String, Object> map) {
		return GPRSInfoDao.findByIds(map);
	}

	@Override
	public GPRSInfo findById(Map<String, Object> map) {
		return GPRSInfoDao.findById(map);
	}

	@Override
	public List<GPRSInfo> find(Map<String, Object> map) {
		return GPRSInfoDao.find(map);
	}

	@Override
	public Long getTotal(Map<String, Object> map) {
		return GPRSInfoDao.getTotal(map);
	}

	@Override
	public int update(Map<String, Object> map) {
		return GPRSInfoDao.update(map);
	}

	@Override
	public int add(Map<String, Object> map) {
		return GPRSInfoDao.add(map);
	}

	@Override
	public int delete(Map<String, Object> map) {
		return GPRSInfoDao.delete(map);
	}
}